import { http } from '@/tool/utils'
import { iPb } from '@/protobuf/interface'

export function ListMemberWalletTransaction(data: iPb.Admin.IListMemberWalletTransactionRequest):Promise<iPb.Admin.IListMemberWalletTransactionResponse> {
    return http.post("ListMemberWalletTransaction",iPb.Admin.ListMemberWalletTransactionRequest.toObject(iPb.Admin.ListMemberWalletTransactionRequest.create(data)))
}

export function AdjustMemberWallet(formData: iPb.Admin.IAdjustMemberWalletMemberRequest):Promise<iPb.Admin.IAdjustMemberWalletMemberResponse> {
    return http.post("AdjustMemberWallet",iPb.Admin.AdjustMemberWalletMemberRequest.toObject(iPb.Admin.AdjustMemberWalletMemberRequest.create(formData)))
}